/**
 * Copyright 2011 Poltman.Ltd; www.poltman.com. All rights reserved.		
 *
 * This file is part of the dspace-poltman project http://www.poltman.com.
 *
 * This is free software; you can redistribute it and/or modify it under
 * the terms of DuraSpace DSpace license detailed in the LICENSE and NOTICE 
 * files at the root of the source tree and available online at
 * http://www.dspace.org/license/
 * 
 */

package com.poltman.dscentral.db.service.dspace;

import com.poltman.dscentral.db.entity.dspace.EPersonEntity;
import com.poltman.dscentral.db.entity.dspace.HandleEntity;
import com.poltman.dscentral.db.exceptions.RepositoryAccessException;
import com.poltman.dscentral.db.exceptions.RepositoryException;




/**
 * 
 * @author z.ciok@poltman.com
 * @version $Revision: 1811 $
 * 
 */
public interface EPersonService  {
	
	public EPersonEntity findByEpersonId(Integer epersonId) throws RepositoryAccessException, RepositoryException;
	public EPersonEntity findByEmail(String email) throws RepositoryAccessException, RepositoryException;
	public EPersonEntity findByNetid(String netid) throws RepositoryAccessException, RepositoryException;
	public EPersonEntity save(EPersonEntity epersonEntity) throws Exception;
	public int setFixedCanLogInFor(Boolean canLogIn, Integer epersonId) throws Exception; 
}
